<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/admin/jsp/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/admin/jsp/header.jsp"%>
		<%@ include file="/framework/jsp/validation.jsp"%>
		<script language="javascript" src="/framework/js/tips_alert.js"></script>
		<script src="/framework/js/jquery.js" type="text/javascript"></script>
	</head>
	<body>
		<table width="98%" border="0" align="center" cellpadding="3"
			cellspacing="0">
			<tr>
				<td class="page-title">
					<img src="../images/page_title.gif" alt="title" width="17"
						height="12" align="absmiddle">
					&nbsp;&nbsp; 图片管理 » 图片新增
				</td>
			</tr>
		</table>
		<br>
		<form id="form" action="/admin/jsp/imgMgr.do?method=saveImg"
			method="post" enctype="multipart/form-data">
			<input type="hidden" name="validFlag" id="validFlag" value="1">
			<table width="100%" border="0" align="center" cellpadding="5"
				cellspacing="0">
				<tr>
					<td></td>
					<td align="left">
						带
						<font color="red">&nbsp;*&nbsp;</font>为必填项
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>图片标题
					</td>
					<td>
						<input name="imgTitle" class="required max-length-50" type="text"
							id="imgTitle" size="20">
						<a href="#"><img src="../images/help.gif" tips="图片标题，50字以内"
								width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>图片类型
					</td>
					<td>
						<select name="imgType" id="imgType">
							<option value="1">工程类</option>
						</select>
						<a href="#"><img src="../images/help.gif" tips="图片类型"
								width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>图片上传
					</td>
					<td>
						<input type="file" name="img">
						<a href="#"><img src="../images/help.gif" tips="图片上传"
								width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>图片描述
					</td>
					<td>
						<textarea name="imgDesc" rows="4" cols="40" id="imgDesc"
							class="max-length-200"></textarea>
						<a href="#"><img src="../images/help.gif" tips="图片描述，200字以内"
								width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="center" valign="middle" colspan="2">
						<input type="submit" class="short-button" value="提  交" />
						<input type="button" class="short-button" value="返  回"
							onclick="window.location='/admin/jsp/imgMgr.do?method=queryImg'" />
					</td>
				</tr>
			</table>

		</form>
	</body>
	<script>
		new Validation('form',{immediate:true});
	</script>
</html>